<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>设置时间戳</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="oauth.setsslchecks.html">OAuth::setSSLChecks</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="oauth.settoken.html">OAuth::setToken</a></div>
 <div class="up"><a href="class.oauth.html">OAuth</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="oauth.settimestamp" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">OAuth::setTimestamp</h1>
  <p class="verinfo">(PECL OAuth &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">OAuth::setTimestamp</span> &mdash; <span class="dc-title">设置时间戳</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-oauth.settimestamp-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>OAuth::setTimestamp</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$timestamp</code></span>
   )</div>

  <p class="para rdfs-comment">
   为后续请求设置时间戳。
  </p>

  <div class="warning"><strong class="warning">Warning</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-oauth.settimestamp-parameters">
  <h3 class="title">参数</h3>
  <dl>

   
    <dt>
<em><code class="parameter">timestamp</code></em></dt>

    <dd>

     <p class="para">
      时间戳。
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-oauth.settimestamp-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   返回 <strong><code>TRUE</code></strong> ，除非 <em><code class="parameter">timestamp</code></em> 无效，则返回 <strong><code>FALSE</code></strong> 。
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-oauth.settimestamp-changelog">
  <h3 class="title">更新日志</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>版本</th>
       <th>说明</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>1.0.0</td>
       <td>
        以前失败时返回 <strong><code>NULL</code></strong>，而不是 <strong><code>FALSE</code></strong>。
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-oauth.settimestamp-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><span class="methodname"><a href="oauth.setnonce.html" class="methodname" rel="rdfs-seeAlso">OAuth::setNonce()</a> - 为后续请求设置现时标志</span></li>
  </ul>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="oauth.setsslchecks.html">OAuth::setSSLChecks</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="oauth.settoken.html">OAuth::setToken</a></div>
 <div class="up"><a href="class.oauth.html">OAuth</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
